package ModelLayer;

public class Employee {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_employee;
    private int id_profile;
    private String lastname;
    private String firstname;
    private String email;
    private String passwd;
    private boolean active;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Employee() {
    }

    public Employee(int id_employee, int id_profile, String lastname, String firstname, String email, String passwd, boolean active) {
        this.id_employee     = id_employee;
        this.id_profile      = id_profile;
        this.lastname        = lastname;
        this.firstname       = firstname;
        this.email           = email;
        this.passwd          = passwd;
        this.active          = active;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDEmployee(int id_employee) {
        this.id_employee = id_employee;
    }
    public int getIDEmployee() {
        return this.id_employee;
    }

    //Set & Get: ID_Profile
    public void setIDProfile(int id_profile) {
        this.id_profile = id_profile;
    }
    public int getIDProfile() {
        return this.id_profile;
    }

    //Set & Get: Lastname
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }
    public String getLastname() {
        return this.lastname;
    }

    //Set & Get: Firstname
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }
    public String getFirstname() {
        return this.firstname;
    }

    //Set & Get: Email
    public void setEmail(String email) {
        this.email = email;
    }
    public String getEmail() {
        return this.email;
    }

    //Set & Get: Passwd
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
    public String getPasswd() {
        return this.passwd;
    }

    //Set & Get: Active
    public void setActive(boolean active) {
        this.active = active;
    }
    public boolean getActive() {
        return this.active;
    }
    // </editor-fold>
}
